package finaldemo;

public final class finaldemo {
    public final int finalVariable;

    public finaldemo(int finalVariable) {
        this.finalVariable = finalVariable;
    }

    public final void display()
    {
        System.out.println("Final variable value: " + finalVariable);
    }
}
